package com.gy.assistant.ui.friend.search.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import androidx.annotation.Nullable;
import com.gy.assistant.R;

public class ZIMFriendSearchFilterActivity extends Activity {

    public static void actionStart(Activity activity) {
        Intent intent = new Intent(activity, ZIMFriendSearchFilterActivity.class);
        activity.startActivity(intent);
    }

    private static final String TAG = "ZIMFriendSearchFilterActivity";

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_friend_search_filter);
    }

    public void onSearch(View view) {
        EditText editText = findViewById(R.id.searchEditText);
        ZIMFriendSearchResultsActivity.actionStart(this, editText.getText().toString());
    }
}
